package com.lixy.demo.spring4_highlight.ch1.di;

import org.springframework.stereotype.Service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;

@Service("useFunctionService")
public class UseFunctionService {

	public String sayHello( String word ) {
		return this.functionService.sayHello( word );
	}
	
	@Autowired
	@Qualifier("functionService")
	private FunctionService functionService;
}
